a52751e3b4783ecd6283811eb804132340140292,jargon-core/src/main/java/org/irods/jargon/core/connection/AuthMechanism.java,AuthMechanism,sendAuthRequestAndGetChallenge,#AbstractIRODSMidLevelProtocol#,251
Before Change
final AbstractIRODSMidLevelProtocol irodsCommands)
throws JargonException {
try {
irodsCommands.getIrodsConnection().send(
irodsCommands.createHeader(
RequestTypes.RODS_API_REQ.getRequestType(), 0, 0,
0, AUTH_REQUEST_AN));
irodsCommands.getIrodsConnection().flush();
} catch (ClosedChannelException e) {
log.error("closed channel", e);
After Change
final AbstractIRODSMidLevelProtocol irodsCommands)
throws JargonException {
try {
irodsCommands.sendHeader(
RequestTypes.RODS_API_REQ.getRequestType(), 0, 0, 0,
AUTH_REQUEST_AN);
irodsCommands.getIrodsConnection().flush();
} catch (ClosedChannelException e) {
log.error("closed channel", e);